package com.wlw.admin.openeye.mvp.model

import com.wlw.admin.openeye.mvp.model.bean.HomeBean
import com.wlw.admin.openeye.net.RetrofitManager
import com.wlw.admin.openeye.rx.scheduler.SchedulerUtils
import io.reactivex.Observable

class VideoDetailModel {
    fun requestRelatedData(id: Long): Observable<HomeBean.Issue> {
        return RetrofitManager.service.getRelatedData(id).compose(SchedulerUtils.ioToMain())
    }

}